﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.Account
{
    /// <summary>
    /// 担保交易详情Model
    /// </summary>
    public class WarrantDetailModel
    {
        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "当前登录用户ID")]
        public string CurrentUserID { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "转出用户ID")]
        public string Userid { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "转入用户ID")]
        public string ToUserId { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "转出用户：")]
        public string UserLoginName { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "转入用户：")]
        public string ToUserLoginName { get; set; }

        [DataType(DataType.DateTime)]
        [Display(Name = "担保时间：")]
        public DateTime? TradeDate { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "开户银行名称：")]
        public string BankName { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "银行卡号：")]
        public string BankCardNo { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "开户名：", Description = "自己的姓名")]
        public string BankUserName { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "联系电话：")]
        public string Tel { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "QQ：")]
        public string Qq { get; set; }


        [DataType(DataType.Currency)]
        [Display(Name = "金额：")]
        public decimal Money { get; set; }

        [DataType(DataType.DateTime)]
        [Display(Name = "已转账或撤销时间：")]
        public DateTime? TransferOrWithdrawDate { get; set; }

        [DataType(DataType.DateTime)]
        [Display(Name = "卖家确认时间：")]
        public DateTime? AckDate { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "买家转账凭证号（用作转账依据）：")]
        public string BankSerialNo { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "状态：")]
        public string Status { get; set; }

        [DataType(DataType.DateTime)]
        [Display(Name = "过期时间：")]
        public DateTime? RemainDate { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "摘要：")]
        public string TradeAbstract { get; set; }
    }
}
